7c0387acddd893838b8b14f4a9d9440971298185,modules/apps/blogs/blogs-web/src/com/liferay/blogs/web/portlet/action/EditEntryMVCActionCommand.java,EditEntryMVCActionCommand,updateEntry,#ActionRequest#,426
Before Change
if (!tempBlogsEntryAttachments.isEmpty()) {
blogsEntryAttachmentFileEntryReferences =
blogsEntryAttachmentFileEntryHelper.
addBlogsEntryAttachmentFileEntries(
entry.getGroupId(), themeDisplay.getUserId(),
entry.getEntryId(), tempBlogsEntryAttachments);
content = blogsEntryAttachmentFileEntryHelper.updateContent(
content, blogsEntryAttachmentFileEntryReferences);
After Change
blogsEntryAttachmentFileEntryHelper.
getTempBlogsEntryAttachmentFileEntries(content);
Folder folder = BlogsEntryLocalServiceUtil.addAttachmentsFolder(
themeDisplay.getUserId(), entry.getGroupId());
if (!tempBlogsEntryAttachments.isEmpty()) {
blogsEntryAttachmentFileEntryReferences =
blogsEntryAttachmentFileEntryHelper.
addBlogsEntryAttachmentFileEntries(
entry.getGroupId(), themeDisplay.getUserId(),
entry.getEntryId(), folder,
tempBlogsEntryAttachments);
content = blogsEntryAttachmentFileEntryHelper.updateContent(
content, blogsEntryAttachmentFileEntryReferences);